FROM openjdk:8-jre
ENV APP_HOME=/apps
WORKDIR $APP_HOME
COPY ./departments-0.0.1-SNAPSHOT.jar ./dept.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar"]
CMD ["dept.jar"]